<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./../../admin/css/addmenu.css">
    <script src="./../../admin/layui/layui.js"></script>
    <script src="./../../admin/js/addmenu.js"></script>
</head>
<body>
    <form class="layui-form" action="" lay-filter="example">
        <div class="layui-form-item">
          <label class="layui-form-label">菜单名字</label>
          <div class="layui-input-block">
            <input type="text" name="m_name" lay-verify="title" autocomplete="off" placeholder="请输入菜单名字" class="layui-input">
          </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">链接</label>
            <div class="layui-input-block">
              <input type="text" name="m_link" lay-verify="link" autocomplete="off" placeholder="请输入链接名字" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">编号</label>
            <div class="layui-input-block">
              <input type="text" name="m_num" lay-verify="num" autocomplete="off" placeholder="请输入编号" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">开关</label>
            <div class="layui-input-block">
              <input type="checkbox" name="m_status" lay-skin="switch" lay-text="ON|OFF" lay-filter="m_status">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">父级菜单</label>
            <div class="layui-input-block">
              <input type="text" name="m_parent" lay-verify="parent" autocomplete="off" placeholder="请输入父级菜单" class="layui-input">
            </div>
          </div>  
          
          <div class="layui-form-item">
            <label class="layui-form-label">图标</label>
            <div class="layui-input-block">
              <input type="text" name="m_icon" lay-verify="icon" autocomplete="off" placeholder="请输入图标" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">网址</label>
            <div class="layui-input-block">
              <input type="text" name="m_url" lay-verify="url1" autocomplete="off" placeholder="请输入网址" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">顺序号</label>
            <div class="layui-input-block">
              <input type="text" name="m_orderby" lay-verify="orderby" autocomplete="off" placeholder="请输入顺序号" class="layui-input">
            </div>
          </div>
       
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
          </div>
        </div>
      </form>
</body>
</html>